﻿@inherits BaseValidationResult
@if ( !HasCustomRegistration )
{
    @if ( ParentValidation?.Status == ValidationStatus.None )
    {
        <small class="@ClassNames" style="@StyleNames" @attributes="@Attributes">
            @ChildContent
        </small>
    }
}
else
{
    @RenderCustomComponent()
}